package com.zhangye.test.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zhangye.test.mapper.AdminMapper;
import com.zhangye.test.model.Admin;

@Service
public class IndexService {
	
	@Autowired
	private AdminMapper adminMapper;
	
	
	public List<Admin> selectAll(){
		List<Admin> list = adminMapper.selectAll();
		return list;
	}
	
}
